package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 学生表对象 m_student
 * 
 * @author ZHANGQIBO
 * @date 2023-12-14
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 学号 */
    @Excel(name = "学号")
    private Long id;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 就读学校 */
    @Excel(name = "就读学校")
    private String school;

    /** 生日 */
    private String birthday;

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public List<ScStudentContact> getContactList() {
        return contactList;
    }

    public void setContactList(List<ScStudentContact> contactList) {
        this.contactList = contactList;
    }

    private List<ScStudentContact> contactList;
    private List<ScStudentCourse> scStudentCourseList;

    public List<ScStudentCourse> getScStudentCourseList() {
        return scStudentCourseList;
    }

    public void setScStudentCourseList(List<ScStudentCourse> scStudentCourseList) {
        this.scStudentCourseList = scStudentCourseList;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setSchool(String school) 
    {
        this.school = school;
    }

    public String getSchool() 
    {
        return school;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", school='" + school + '\'' +
                ", birthday='" + birthday + '\'' +
                ", contactList=" + contactList +
                '}';
    }
}
